package com.zxy.service;

import com.zxy.pojo.Book;

import java.util.List;

public interface BookService {
    List<Book> getAll();

    //按照条件查询
    Book SelectByExample(Integer BookId);

    //插入书籍
    int AddBook(Book book);

    //根据条件删除书籍
    int DeleteByExample(Book book);


    int UpdateBook(Book book);
}
